package com.indexingsystem.system.service;

import com.indexingsystem.boss.entity.UserInfos;

public interface IUserInfosService {

	int deleteByPrimaryKey(String userInfoId) throws Exception;

	int insertSelective(UserInfos record) throws Exception;

	UserInfos selectByPrimaryKey(String userInfoId);

	int updateByPrimaryKeySelective(UserInfos record) throws Exception;

	/**
	 * 通过身份证查询是否已存在.
	 * 
	 * @param identityCard
	 * @return
	 */
	UserInfos getUserInfosByIdentityCard(String identityCard);

	/**
	 * 根据userid删除用户详情.
	 * 
	 * @param userId
	 * @return
	 */
	int deleteUserInfoByUserId(String userId) throws Exception;

	/**
	 * 根据userId查询主键.
	 * 
	 * @param userId
	 * @return
	 */
	UserInfos selectUserInfoByUserId(String userId);
	
	/**
	 * 根据userId查询详情信息.
	 * 
	 * @param userId
	 * @return
	 */
	UserInfos selectUserInfoByUserIdVo(String userId);
}